package com.aliang.shopping.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 商品规格表
 * @TableName goods_spec
 */
@TableName(value ="goods_spec")
@Data
public class GoodsSpec implements Serializable {
    /**
     * 数据Id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 规格名
     */
    @TableField(value = "spec_name")
    private String specName;

    /**
     * 父Id
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 商品id 
     */
    @TableField(value = "goods_id")
    private Long goodsId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}